package com.xd.clap.entity.request;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PageNumVO {

    @Min(value = 1,message = "最低页数小于1")
    private Integer current;

    @Max(value = 20,message = "最高值大于20")
    private Integer size;
}
